﻿using NodeCanvas.Framework;
using ParadoxNotion.Design;
using UnityEngine;

namespace Yoozoo.Gameplay.Liberty.AI.Node
{
    [Category("Ggame/Liberty")]
    public class NpcEnterAimingState : AIBaseNode
    {
        public BBParameter<AimingState> aimingState = AimingState.None;
        
        protected override void OnExecute()
        {
            _entity.viewer.animationAgent.EnterAimingState(aimingState.value);
            EndAction(true);
        }
    }
}